package com.srcptit.trainning.toannt.btvn3;
import java.util.Scanner;
public class Bai_1 {
public static void main(String[]args){
	Scanner sc=new Scanner(System.in);
	System.out.print("Nhap vao 1 so nguyen:");
	int n=sc.nextInt();
	int i=2;
	while(n!=0){
		int dem=0;
		while(n%i==0){
			n=n/i;
			dem++;
		}
		if(dem!=0)
			System.out.println(i+"*"+dem);
		i++;
	}
}
}
